<?php
require_once('mysql.php');

$text = $_GET['text'];
$user_id = $_GET['user_id'];
$task_id = $_GET['task_id'];

$text = addslashes($text);

$query = "insert into entry_comment (entry_id, text, owner_id) values ($task_id, '$text', $user_id)";
mysql_query($query) or die(mysql_error());

?>
